import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
//基础
import "@/assets/css/reset.css";
import "@/assets/css/base.less";
//导入vant 样式
import "vant/lib/index.css";

//手动按需导入组件
import { Tab, Tabs, Sidebar, SidebarItem, Card, Tag, Button } from "vant";
//
// Vue.use(Button);
// Vue.use(Calendar);
//全局注册 链式使用
Vue.use(Tab)
  .use(Tabs)
  .use(Sidebar)
  .use(SidebarItem)
  .use(Card)
  .use(Tag)
  .use(Button);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
